Xbasic

A5_Decrypt_Binary Function

Syntax

Decoded_Data as B = a5_decrypt_binary(B Source ,C Key [,C Algorithm [,B Initializer ]])

Arguments

Decoded_Data

The decoded data.

Source

The encoded data.

Key

The text used to decode SourceString.

Algorithm

Optional. Default = "Blowfish". Refer to Encryption Algorithms.

Initializer

Optional. Additional information to be provided by advanced users depending on the algorithm they use. Refer to the OpenSSL site at www.openssl.org for more information.

Description

Decrypts an encrypted binary and returns the original binary.

Discussion

The A5_Decrypt_Binary() function decodes binary data.

Example

dim bd as B
bd = a5_encrypt_binary("alpha software", "abc")
? a5_decrypt_binary(bd, "abc")
= alpha software

See Also